<template>
    <div id="nav">
        <router-link to="/">Home</router-link>
        |
        <router-link to="/about">About</router-link>
        ||
        <router-link to="/general/button">Button</router-link>
        |
        <router-link to="/general/icon">Icon</router-link>
        ||
        <router-link to="/layout/grid">Grid</router-link>
        |
        <router-link to="/layout/space">Space</router-link>
        |
        <router-link to="/layout/layout1">Layout1</router-link>
        |
        <router-link to="/layout/layout2">Layout2</router-link>
        |
        <router-link to="/layout/layout3">Layout3</router-link>
    </div>
    <router-view/>
</template>

<script>
    export default {
        name: 'App',
        components: {}
    }
</script>

<style lang="less">
    #app {
        font-family: Avenir, Helvetica, Arial, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        color: #2c3e50;
    }

    #nav {
        padding: 30px;

        a {
            font-weight: bold;
            color: #2c3e50;

            &.router-link-exact-active {
                color: #42b983;
            }
        }
    }

    .ant-row {
        margin: 15px;
        padding: 5px 0;
        border: #42b983 1px solid;
        border-radius: 2px;
    }
</style>
